/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  com.alibaba.fastjson.JSON
 */
package com.gys.common.business;

import com.alibaba.fastjson.JSON;
import com.gys.common.data.HttpJson;
import com.gys.common.util.ConstUtil;
import com.gys.common.util.HttpClientUtil;
import com.gys.data.rechargecard.GaiaSdRechargeCardChangeInData;
import com.gys.data.rechargecard.GaiaSdRechargeCardLoseInData;
import com.gys.data.rechargecard.RechComsuInData;
import com.gys.data.rechargecard.RechargeCardInData;
import com.gys.data.rechargecard.RechargeCardPaycheckInData;
import com.gys.data.rechargecard.RechargeCardSetInData;
import java.util.Map;

public class RechargeCardUtil {
    public static HttpJson saveCardInfo(RechargeCardInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/save", JSON.toJSONString(inData));
    }

    public static HttpJson generateCardCode() {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/generatecode", "");
    }

    public static HttpJson resetPassword(RechargeCardInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/resetpassword", JSON.toJSONString(inData));
    }

    public static HttpJson getCardInfo(RechargeCardInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/cardlist", JSON.toJSONString(inData));
    }

    public static HttpJson savePayinfo(RechargeCardPaycheckInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/savepayinfo", JSON.toJSONString(inData));
    }

    public static HttpJson modifyPassword(RechargeCardInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/modifypassword", JSON.toJSONString(inData));
    }

    public static HttpJson getRchComsuList(RechComsuInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/rechcomsu/list", JSON.toJSONString(inData));
    }

    public static HttpJson saveCardSet(RechargeCardSetInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/saveset", JSON.toJSONString(inData));
    }

    public static HttpJson getSetData() {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/setData", "{}");
    }

    public static HttpJson cardLost(GaiaSdRechargeCardLoseInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/lose", JSON.toJSONString(inData));
    }

    public static HttpJson changeCard(GaiaSdRechargeCardChangeInData inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/change", JSON.toJSONString(inData));
    }

    public static HttpJson getCardDetail(Map<String, Object> inData) {
        return HttpClientUtil.httpPostJson(ConstUtil.HTTP_URL + "/operation/rechargecard/getCardInfo", JSON.toJSONString(inData));
    }
}

